package com.xhsj.user.sms.purchase.query;
import com.xhsj.user.sms.purchase.entity.TbPurchaseSubtaskQualityRecord;
import com.xhsj.user.sms.purchase.entity.TbPurchaseSubtaskQualityRecordFile;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author: liuqinghua
 * @Description:质检
 * @Data:2020/4/30
 */
@Data
public class CheckPurchaseRecordSmsApprovalQuery extends PurchaseOrderQuerySms {

    @NotNull(message = "purchaseOrderOtherFileQuery 文件不能为空")
    private List<TbPurchaseSubtaskQualityRecordFile> purchaseOrderOtherFileQuery;

    @NotBlank(message = "采购订单purchaseOrderId不能为空")
    private String purchaseOrderId;

    @NotNull(message = "tbPurchaseSubtaskQualityRecordList 文件不能为空")
    private List<TbPurchaseSubtaskQualityRecord> tbPurchaseSubtaskQualityRecordList;

    private Integer badRecords;

    private Integer qualityRecordBatch;//质检批次

    private String remarks;//质检批次

    private int totalBackNumber; //退货的总数量

    private int totalNumber; //总数量

    private int currentBackNumber; //当前退回数量

    private int totalInstorageNumber;//入库数

}
